package com.qsl.sync.api;


import com.qsl.common.result.ResultEntity;
import com.qsl.sync.common.dto.SyncTaskDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 青石路
 */
@FeignClient(name = "data-govern-offline-sync", contextId = "dataGovernOfflineSync", url = "${offline.sync.server.url}")
public interface OfflineSyncApi {

    @PostMapping(value = "/task/delete")
    ResultEntity<String> deleteTask(@RequestBody SyncTaskDTO syncTaskDTO);
}